INCLUDEPATH += $$PWD

# DEFINES += USE_HALCON
# DEFINES += USE_OPENCV

#add halcon
contains(DEFINES, USE_HALCON){
INCLUDEPATH += $$(HALCONROOT)/include
INCLUDEPATH += $$(HALCONROOT)/include/halconcpp
LIBS += -L$$(HALCONROOT)/lib/$$(HALCONARCH) -lhalcon -lhalconcpp
}

contains(DEFINES, USE_OPENCV){
win32{
    CONFIG(release, debug|release): LIBS += -L$$(sdk)/opencv/lib/ -lopencv_world451
    else:CONFIG(debug, debug|release): LIBS += -L$$(sdk)/opencv/lib/ -lopencv_world451d

    INCLUDEPATH += $$(sdk)/opencv/include
    DEPENDPATH += $$(sdk)/opencv/include
}
}

HEADERS += \
    $$PWD/ImageCommon.h \
    $$PWD/ImageSaveManager.h \
    $$PWD/ImageSaveWorker.h \
    $$PWD/SaveTask.h

SOURCES += \
    $$PWD/ImageCommon.cpp \
    $$PWD/ImageSaveManager.cpp \
    $$PWD/ImageSaveWorker.cpp \
    $$PWD/SaveTask.cpp


